package com.koo.modules.b2b.dao;

import com.koo.modules.api.model.XXBaseStoreInfo;
import com.koo.modules.b2b.entity.B2bStoreToOutStoreEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * b2b门店与注册企业下原门店信息对应表
 * 
 * @author charlin
 * @email 136137465@qq.com
 * @date 2023-01-05 09:53:32
 */
@Mapper
public interface B2bStoreToOutStoreDao extends BaseMapper<B2bStoreToOutStoreEntity> {

    XXBaseStoreInfo selectOutStoreCodeByPrefix(Map<String, Object> queryMap);

    List<Map<String, Object>> listPrefixByStoreId(@Param("storeId") String storeId, @Param("isProduct") boolean isProduct);
}
